package com.qiangesoft.blog.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiangesoft.blog.common.mvc.PageQuery;
import com.qiangesoft.blog.common.mvc.PageResultVO;
import com.qiangesoft.blog.common.result.ResponseResult;
import com.qiangesoft.blog.system.entity.SysOperationLog;

import java.util.List;

/**
 * <p>
 * 系统操作日志 服务类
 * </p>
 *
 * @author qiange
 * @since 2023-06-01
 */
public interface ISysOperationLogService extends IService<SysOperationLog> {

    /**
     * 分页查询操作日志
     *
     * @return
     */
    PageResultVO<SysOperationLog> listLog(PageQuery pageQuery, String operation);

    /**
     * 批量删除操作日志
     *
     * @param ids 操作日志id集合
     * @return
     */
    ResponseResult deleteLog(List<Long> ids);
}
